package com.star.uc.contract.enums;

import com.star.common.core.contract.enums.IEnum;
import com.star.common.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 发送邮件类型处理类
 * 如果需要根据code获取desc，请使用
 *
 * @author zhouhengzhe
 * @see com.star.common.kit.enums.EnumUtils#getByCode(java.lang.Class, java.lang.Object)
 */

@Getter
@AllArgsConstructor
public enum SendBizTypeEnum implements IEnum<String>, EnumValueResolver<SendBizTypeEnum, String> {

    REG("reg", "注册"),
    UPDATE_PWD("updatePwd", "修改密码");


    private final String code;

    private final String desc;

}
